package com.itheima.security.springmvc.model;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Set;

/**
 * <p>
 * 用户信息
 * </p>
 *
 * @author flyduck
 * @since 2023/11/18
 */
@Data
@AllArgsConstructor
public class UserDto {
    public static final String SESSION_USER_KEY = "_user";

    private String id;
    private String username;
    private String password;
    private String fullname;
    private String mobile;

    /**
     * 用户权限*/
    private Set<String> authorities;
}
